import { Injectable } from '@angular/core';
import { IListService } from './IListService';

@Injectable()
export class ListService implements IListService {
    data: Array<any>;
    constructor() {
        console.log('--------------------------------------------');
        this.data = [];
    }
    getList(): Array<any> {
        return [
            { text: '我是老大' },
            { text: '我是老大' },
            { text: '我是老大' }
        ];
    };
}